text JS屬性 語法


Posted by mijouhsieh on 2023-03-15

字串不是空白
string.trim().length > 0

輸入框節點內的值
input.value


#text-js-property-syntax #trim







Related Posts

ASP.NET Core Web API 入門教學 - 使用DELETE刪除資料

ASP.NET Core Web API 入門教學 - 使用DELETE刪除資料

Promise 介紹

Promise 介紹

JavaScript內建函式

JavaScript內建函式


Comments